package redis_lock

import (
	"context"
	"fmt"

	"github.com/gomodule/redigo/redis"
)

type LockClient interface {
	SetNEX(ctx context.Context, key, value string)
	Eval(ctx context.Context)
}

// client redis 客户端
type Client struct {
	ClientOptions
	pool *redis.Pool
}

func NewClient() *Client {
	c := Client{
		ClientOptions: ClientOptions{},
	}
	fmt.Print(c)
	return &Client{}
}

func (c *Client) getRedisPool() *redis.Pool {
	return &redis.Pool{}
}

func (c *Client) GetConn() {

}
func (c *Client) getRedisConn(redis.Conn, error) {

}
func (c *Client) Get() {

}
func (c *Client) Set() {

}
func (c *Client) Del() {

}
func (c *Client) Incr() {

}
func (c *Client) Eval() {

}
func (c *Client) SetNEX() {

}
